/**
* @file 查看问题解决方案
* @author 张超
* @created 2023/7/04 08:00
* @updated 2023/7/04 18:00
*/
<template>
	<view class="answer">
		<view v-html="content"></view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				content: "",
			}
		},
		onLoad(optios) {
			uni.$on('content',(data) => {
				this.content = data.content
			})
		},
		onUnload() {
			uni.$off("content")
		},
		methods: {

		},
	}
</script>

<style lang="scss">
	.answer {
		height:100vh;
		overflow-y:scroll;
		padding:30rpx 0;
		background-color: #f3f3f3;
	}
</style>